package cn.wolfcode.mapper;

import cn.wolfcode.domain.SystemDictionary;
import cn.wolfcode.qo.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SystemDictionaryMapper {
    int insert(SystemDictionary record);

    int deleteByPrimaryKey(Long id);

    int updateByPrimaryKey(SystemDictionary record);

    SystemDictionary selectByPrimaryKey(Long id);

    List<SystemDictionary> selectAll();

    //分页查询
    List<SystemDictionary> selectForList(QueryObject qo);

    List<SystemDictionary> selectBySn(String sn);

    List<SystemDictionary> selectByParentId(Long parentId);
}